Skip to content

Update arc.py#17

Open
jayGattusoNLNZ wants to merge 1 commit intointernetarchive:masterfrom
jayGattusoNLNZ:patch-1
Open

Update arc.py#17
jayGattusoNLNZ wants to merge 1 commit intointernetarchive:masterfrom
jayGattusoNLNZ:patch-1

Conversation

@jayGattusoNLNZ
Copy link

ARC v2 files (and maybe v1?) can contain an XML block that confuses the header parser when the fileobj is presented.
This edit skips the XML block and allows the first record header to be properly discovered.

ARCv 2 files can contain an <arcmetadata> XML block that confuses the header parser when the fileobj is presented. 
This edit skips the XML block and allows the first record header to be properly discovered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant